package bookticket.crm.vip.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import bookticket.crm.vip.dao.VipDao;
import bookticket.crm.vip.entity.VipEntity;
import bookticket.crm.vip.service.VipService;


@Service
public class VipServiceImpl implements VipService {

	@Autowired
	private VipDao dao;

	@Override
	public List<VipEntity> findAll(Map<String, Object> pageMap) {
		return dao.findAll(pageMap);
	}

	@Override
	public int getTotalCounter() {
		return dao.getTotalCounter();
	}

	@Override
	public int add(VipEntity vipEntity) {
		return dao.add(vipEntity);
	}

	@Override
	public int deleteByIds(List<Integer> ids) {
		return dao.deleteByIds(ids);
	}

	@Override
	public int update(VipEntity vipEntity) {
		return dao.update(vipEntity);
	}

	@Override
	public VipEntity findById(Integer id) {
		return dao.findById(id);
	}

	@Override
	public List<VipEntity> findAllNoPage() {
		return dao.findAllNoPage();
	}
	
	

	
}
